379e9228fbbf62f4c103c0ec4a1d83fc2a39b6d3,src/android/BackgroundMode.java,BackgroundMode,stopService,#,197

Before Change


        Intent intent = new Intent(
                context, ForegroundService.class);

        context.unbindService(connection);
        context.stopService(intent);
    }
}

After Change


        Intent intent = new Intent(
                context, ForegroundService.class);

        if (isBind) {
            context.unbindService(connection);
        }

        context.stopService(intent);